package com.lvtulife.paas.gtd.bean;

import com.lvtulife.common.bean.BaseVo;

import java.util.Date;

/**
 * 习惯定义规则视图对象
 */
public class HabitRuleVo extends BaseVo {
    /* 习惯主键 */
    private Long habitId;

    /* 重复：0一次性活动；1每天；2每个工作日；3每周；4每月；5每季度；6每年；7每年农历 */
    private Integer repeatType;

    /* 重复条件：0无重复；1无限重复；2截止至某个日期；3限定次数 */
    private Integer repeatRestrict;

    /* 重复限定次数 */
    private Integer expiryTimes;

    /* 重复截止日期类型：0公历；1农历 */
    private Integer expiryDtType;

    /* 重复截止日期 */
    private Date expiryDt;

    public Long getHabitId() {
        return habitId;
    }

    public void setHabitId(Long habitId) {
        this.habitId = habitId;
    }

    public Integer getRepeatType() {
        return repeatType;
    }

    public void setRepeatType(Integer repeatType) {
        this.repeatType = repeatType;
    }

    public Integer getRepeatRestrict() {
        return repeatRestrict;
    }

    public void setRepeatRestrict(Integer repeatRestrict) {
        this.repeatRestrict = repeatRestrict;
    }

    public Integer getExpiryTimes() {
        return expiryTimes;
    }

    public void setExpiryTimes(Integer expiryTimes) {
        this.expiryTimes = expiryTimes;
    }

    public Integer getExpiryDtType() {
        return expiryDtType;
    }

    public void setExpiryDtType(Integer expiryDtType) {
        this.expiryDtType = expiryDtType;
    }

    public Date getExpiryDt() {
        return expiryDt;
    }

    public void setExpiryDt(Date expiryDt) {
        this.expiryDt = expiryDt;
    }
}
